From e712cdfd91ecec68913bb7f778196730be10186d Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 9 Jan 2008 04:11:23 +0000 Subject: [PATCH] Whitelist selected chars known to NOT crash the 60CS but are technically forbidden by the spec. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3051 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/garmin.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gpsbabel/garmin.c b/gpsbabel/garmin.c index dcd8fbe91..4f4ac84db 100644 --- a/gpsbabel/garmin.c +++ b/gpsbabel/garmin.c @@ -163,6 +163,11 @@ rw_init(const char *fname) /* This might be 8859-1 */ receiver_charset = CET_CHARSET_MS_ANSI; break; + case 291: /* GPSMAP 60CS, probably others */ + receiver_short_length = 10; + valid_waypt_chars = MILITANT_VALID_WAYPT_CHARS " +-"; + setshort_badchars(mkshort_handle, "\"$.,'!"); + break; case 231: /* Quest */ case 463: /* Quest 2 */ receiver_must_upper = 0; -- 2.30.2